package com.rongji.egov.fileupload.s3.web;

import com.rongji.egov.fileupload.RjFileProperties;
import com.rongji.egov.fileupload.s3.utils.S3FileIdUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author ZhengGuoJun
 */
@RestController
public class HelloController {
    @Resource
    RjFileProperties properties;
    @Resource
    S3FileIdUtils s3FileIdUtils;
    @GetMapping("/hello")
    public String hello(){
        return "hello " + s3FileIdUtils.getFilePath("Yu-oK-Sw6EGS-YRZ");
    }
}
